package kaug.p2;

import java.awt.BorderLayout;

import javax.swing.JFrame;

public class PaintFrame extends JFrame {
	private DrawPanel dp;
	public PaintFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(600, 600);
		
		ButtonPanel bp = new ButtonPanel(this);
		dp = new DrawPanel();
		
		getContentPane().add(bp, BorderLayout.WEST);
		this.add(dp, BorderLayout.CENTER);
	}
	
	public DrawPanel getDrawPanel() {
		return dp;
	}
}
